<%--
  Created by IntelliJ IDEA.
  User: niemengzun
  Date: 2022/6/17
  Time: 21:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>动漫管理系统-登陆</title>
  </head>
  <%@include file="/pages/common/head.jsp"%>
  <link rel="stylesheet" href="static/css/login.css">
  <body>
  <div class="navigation">
    <text>动漫评分管理系统</text>
  </div>
  <div id="wrapper" class="login-page">
    <div id="login_form" class="form">
      <form class="login-form" action="UserServlet" method="post">
        <input type="hidden" name="action" value="login" >
        <input type="text" placeholder="用户uid" name="user_id"
               value="<%=request.getAttribute("user_ID")==null?"":request.getAttribute("user_ID")%>"/>
        <input id="login" type="submit" value="登陆"/>
        <p class="message">还没有uid? <a href="pages/register.jsp">立刻创建</a></p>
      </form>
    </div>
  </div>
  <script type="text/javascript">

      $(function(){
          $('.message a').click(function () {
              $('form').animate({
                  height: 'toggle',
                  opacity: 'toggle'
              }, 'slow');
          });
      };


      );
  </script>
  </body>
</html>
